package com.quwan.config.yml;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "push")
@Data
public class PushConfig {
    private Xinge xinge;
    private Jums jums;

    @Data
    public static class Xinge {
        private String androidAccessKey;
        private String androidSecretKey;
        private String iosAccessKey;
        private String iosSecretKey;
        private String domainUrl;
        private String environment;
    }
    @Data
    public static class Jums {
        private String appKey;
        private String masterSecret;
        private Byte environment;
    }
}
